<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="viewport"
          content="width=device-width, initial-scale=1, maximum-scale=1,minimum-scale=1, user-scalable=no">
    <title>输入框</title>
    <link rel="shortcut icon" href="../img/logo.png" type="image/x-icon"/>
    <link rel="stylesheet" href="../css/bootstrap.css">
    <script src="../js/html5shiv.js"></script>
    <script src="../js/respondjs.js"></script>
    <script src="../js/popper.js"></script>
    <script src="../js/jquery-3.4.1.js"></script>
    <script src="../js/bootstrap.js"></script>
    <style>
        .input-group {
            width: 40%;
        }

        .input-group-addon {
            background-color: #3384FE;
            border: 1px solid #3384FE;
            color: #ffffff;
        }
    </style>
</head>
<body>
<div class="container">
    <div class="input-group input-group-lg">

        <input class="form-control" name="search" type="text" placeholder="输入关键字"/>

        <span class="input-group-addon">百度一下</span>
    </div>
</div>
</body>
</html>
